package com.zxx.casserver.base.druid;

import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**
 * 配置druid监控拦截器
 *
 * @author zhoukai
 * @date 2020/6/27 21:47
 */
@WebFilter(filterName = "druidWebStatFilter", urlPatterns = "/*", initParams = {
        @WebInitParam(name = "exclusions", value = "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*"),
        // 忽略资源
})
public class DruidStatFilter extends WebStatFilter {

}
